home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ultra Mac Games 1 & 2
/
UltraMacGames1.iso
/
Adventure
/
Homicide Investigation 1.0
/
card_3631.txt
< prev
next >
Wrap
Text File
|
1990-07-15
|
2KB
|
92 lines
-- card: 3631 from stack: in.0
-- bmap block id: 0
-- flags: 0000
-- background id: 4306
-- name:
----- HyperTalk script -----
on showStatement
global victPossessive, crimCard, setAge
-- Prevent user from getting a second age range
if setAge is true then exit showStatement
put field "Char Age" of card crimCard into crimAge
if the number of this card = crimCard then
-- if criminal, shift age range to avoid own age
put 3 into shiftFactor
if crimAge = 35 or crimAge = 40 then put 2 into shiftFactor
put random( shiftFactor ) into ageOffset
multiply ageOffset by 5
if crimAge < 40
then put crimAge + ageOffset into minAge
else put crimAge - ageOffset - 10 into minAge
else
-- pick minimum age of 10 year range that inclues criminal's age
put random(3) - 1 into ageOffset
multiply ageOffset by 5
put crimAge - ageOffset into minAge
end if
put minAge + 10 into maxAge
put true into setAge
put "Wasn't it awful? For something like that to " into myStatement
put "happen to one of my own customers. If you " after myStatement
put "ask me, you should question that trashy " after mystatement
put "friend of " & victPossessive & ". I can't " after myStatement
put "give you a name but as to the age I'd " after myStatement
put "say it would be in the " & minAge & " to " after myStatement
put maxAge & " range." after myStatement
put myStatement into field "Statement"
end showStatement
on hideStatement
global setAge
put false into setAge
put empty into field "Statement"
end hideStatement
-- part contents for background part 10
----- text -----
Willie Snippet
-- part contents for background part 11
----- text -----
male
-- part contents for background part 12
----- text -----
30
-- part contents for background part 13
----- text -----
slim
-- part contents for background part 14
----- text -----
black
-- part contents for background part 15
----- text -----
long
-- part contents for background part 17
----- text -----
brown
-- part contents for background part 19
----- text -----
hair stylist
-- part contents for background part 20
----- text -----
beauty salon
-- part contents for background part 21
----- text -----
eyeglasses, cologne
-- part contents for background part 23
----- text -----
neat, generous